7.1
HIGH CVSS 4.0
CVE-2026-34591
Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
Description

Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.

INFO

Published Date :

April 2, 2026, 6:16 p.m.

Last Modified :

April 13, 2026, 6:38 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-34591 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python-poetry poetry
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 HIGH [email protected]
Solution
Update Poetry to version 2.3.3 or later to fix arbitrary file write.
  • Update Poetry to version 2.3.3 or later.
  • Ensure packages are from trusted sources.
Public PoC/Exploit Available at Github

CVE-2026-34591 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-34591.

URL Resource
http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a Patch
https://github.com/python-poetry/poetry/pull/10792 Issue Tracking Patch
https://github.com/python-poetry/poetry/releases/tag/2.3.3 Product Release Notes
https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Exploit Vendor Advisory
https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-34591 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All Public RunWhen Helm Charts - Managed by terraform

Shell Dockerfile Go Template

Updated: 2 weeks, 5 days ago
1 stars 0 fork 0 watcher
Born at : Sept. 18, 2023, 10:09 a.m. This repo has been linked 98 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-34591 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-34591 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
    Added CPE Configuration OR *cpe:2.3:a:python-poetry:poetry:*:*:*:*:*:python:*:* versions from (including) 1.4.0 up to (excluding) 2.3.3
    Added Reference Type GitHub, Inc.: http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/python-poetry/poetry/pull/10792 Types: Issue Tracking, Patch
    Added Reference Type GitHub, Inc.: https://github.com/python-poetry/poetry/releases/tag/2.3.3 Types: Product, Release Notes
    Added Reference Type CISA-ADP: https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 03, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
  • New CVE Received by [email protected]

    Apr. 02, 2026

    Action Type Old Value New Value
    Added Description Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-22
    Added Reference http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
    Added Reference https://github.com/python-poetry/poetry/pull/10792
    Added Reference https://github.com/python-poetry/poetry/releases/tag/2.3.3
    Added Reference https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.